import {NgModule} from "@angular/core";
import {EmptyPipe} from "./empty.pipe";
import {CommonModule} from "@angular/common";
import {DateFormatPipe} from "./date-format.pipe";
import {LocalizedValuePipe} from "./localize.pipe";
import {LocalizeByLanguagePipe} from "./localize-by-language.pipe";
import {YesOrNoPipe} from "./yesorno.pipe";
import {CRLF2BrPipe} from "./crlf-to-breakline";
import {SafeHtmlPipe} from "./safe-html.pipe";
import {NumberToBooleanPipe} from "./boolean-to-number.pipe";
import { PropertiesPipe } from './appProperties.pipe';
import {UtcDateFormatPipe} from "./utc-date-format.pipe";
import {SafeUrlPipe} from "./safe-url.pipe";

@NgModule({
    imports: [
        CommonModule
    ],
    declarations: [
        EmptyPipe,
        DateFormatPipe,
        LocalizedValuePipe,
        LocalizeByLanguagePipe,
        LocalizedValuePipe,
        YesOrNoPipe,
        CRLF2BrPipe,
        SafeHtmlPipe,
        NumberToBooleanPipe,
        PropertiesPipe,
        UtcDateFormatPipe,
        SafeUrlPipe
    ],
    exports: [
        EmptyPipe,
        DateFormatPipe,
        LocalizedValuePipe,
        LocalizeByLanguagePipe,
        LocalizedValuePipe,
        YesOrNoPipe,
        CRLF2BrPipe,
        SafeHtmlPipe,
        NumberToBooleanPipe,
        PropertiesPipe,
        UtcDateFormatPipe,
        SafeUrlPipe
    ]
})
export class SharedPipeModule {
}
